<?

require_once("include.php");

$me=false;
require_once("header.session.php");
require_once("header.gui.php");
require_once("header.misc.php");
require_once("header.habits.php");

//globals
$MenuObjects= $me->getMyMenu();

if(!$me) {
	$me=&new Person($_SESSION['id']);
}


if(!isset($_GET['page'])) {
	$_GET['page']="default";
}

function headers() {
	
}

function Body() {
	switch($_GET['page']) {
		default:
?>
Welcome to the checklist center.
<br />
<?
global $me;
if($me->isInGroup("Students")) {
  echo "Here you can view all of the checklists here at MC2. You can view the status of any checkmark and view the assessment linked to it.";
} elseif($me->isInGroup("Advisors")) {
  echo "Here you can view the checklists of the students. Each checkmark links to the assessment related to the checklist item. For an item to be checked off, an assessment relating to it must be written and approved. Checkmarks prior to the creation of WIMON do not link to an assessment, that would be too painful. Only advisors qualified in a given field can check an item off for a student in that field. All checkmarks are final.";
} elseif($me->isInGroup("Staff")) {
  echo "Here you can view the checklists of the students. Each checkmark links to the assessment related to the checklist item. For an item to be checked off, an assessment relating to it must be written and approved. Checkmarks prior to the creation of WIMON do not link to an assessment, that would be too painful. All checkmarks are final.";
}
			break;
}
}